package com.du.mybatis.pojo;

/**
 * @author : DuJiabao
 * @Date : 2021/3/5 23:02
 * @Project : MyBatis
 * @File : null.java
 * @Desc :
 */
public class User {
  private Integer id;
  private String name;
  private String address;

  public User() {
  }

  public User(Integer id, String name, String address) {
    this.id = id;
    this.name = name;
    this.address = address;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  @Override
  public String toString() {
    return "User{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", address='" + address + '\'' +
            '}';
  }
}
